package com.linkhub.oms.admin.modules.logistic.domain.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description ShippingNameAndChannelPriorityParam.java
 * @createTime 2024/05/04 20:50
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ShippingNameAndChannelPriorityParam {
    @ApiModelProperty(value = "运费名称")
    private String shippingName;

    @ApiModelProperty(value = "渠道编码优先级列表，1为最大优先级")
    private List<BaseSingleChannelPriorityParam> channelPriority;

    public ShippingNameAndChannelPriorityParam( String shippingName, List<BaseSingleChannelPriorityParam> channelPriorities ) {
        this.shippingName = shippingName;
        this.channelPriority = channelPriorities;
    }

    public ShippingNameAndChannelPriorityParam() {

    }
}
